package com.mycompany.dao;

import java.io.Serializable;

import com.mycompany.entity.BaseEntity;


public interface CommonDao<I extends Serializable, T extends BaseEntity<I>> {
	T getById(I id);
	void insert(T entity);
	void update(T entity);
	void delete(T entity);
	void deleteAll();
}
